package com.robusta.spreadsheet.model;

/**
 * Worksheet abstraction.
 * @author sudhir ravindramohan sudhirbits@gmail.com
 * @since 1.0
 */
public interface Worksheet extends Iterable<Row>, OwnerIdentifiable<Workbook> {
    /**
     * Returns spread sheet headers of the work sheet as
     * described by the worksheet template used in
     * building the work book.
     * @return SheetHeaders
     */
    SheetHeaders getHeaders();

    /**
     * Simple wrapper on top of the POI Row object.
     * @param rowIndex row Index.
     * @return Row.
     */
    Row getRowAt(int rowIndex);
}
